package com.itheima.d5_block;

public class Test {

    static{
        System.out.println("hhhhhhhhhhhhh");
    }

    public static void main(String[] args) {
        // 目标：认识两种代码块，了解他们的特点和基本作用。
        System.out.println(Student.schoolName);
        System.out.println(Student.number);



        System.out.println("---------------------------------------");
        Student s1 = new Student();
        Student s2 = new Student();
        Student s3 = new Student("张三");
        System.out.println(s3);
    }
}
